<!doctype html> 
<html> 
<head> 
    <meta charset="utf-8"> 
    <title></title> 
</head>
<body>
<script type="text/javascript">

var json = {
	'name':'leo',
	'age':'18',
	'height':'180'
};
//i = 'name' 'age'
alert(json['name'])

/*
for(var i in json){
	alert(json[i]);
}
*/


//var arr = [1,2,3];
/*
var string = 'asjdkla'
alert(string.charAt(2))
*/
/*
for(var i in string){
	alert(string[i]);
}
*/

</script>
</body>
</html>